/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.prototype.vaadin;

import java.io.IOException;

/**
 *
 * @author zineddine
 */
public class MainTest {
    public static void main(String[] args) throws IOException, InterruptedException {
	
        Test test= new Test("http://sourceforge.net/directory/natlanguage:french/language:php/freshness:recently-updated/");
        
		//test.recupèreLesProjets(urlPrincipale);
		
		int i;
		for(i=0;i<test.getMalist_de_lien().size();i++){
			System.out.println(test.getMalist_de_lien().get(i));
		}
		for(i=0;i<test.getMalist_deText_Delien().size();i++){
			System.out.println("nom: "+test.getMalist_deText_Delien().get(i));
		}
		/*for (Element link : links) {
			String linkText = link.text();
			System.out.println(malist_deText_Delien.size()+"  eeeee"+ linkText);
		}*/
		System.out.println("methode"+test.nbPage());
		System.out.println(test.urlPage());
              //  System.out.println("Runtime.getRuntime().availableProcessors()");
                System.out.println("nbpage:"+ test.nbPage());
		

    }
}
